#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Math;
namespace Cephei.QL.Math.Matrixutilities
{
    /// <summary> 
	/// ! Given a collection of vectors, w_i, find a collection of vectors x_i such that x_i is orthogonal to w_j for i != j, and <x_i, w_i> = <w_i, w_i>  This is done by performing GramSchmidt on the other vectors and then projecting onto the orthogonal space.  This class is tested in  MatricesTest::testOrthogonalProjection();
	/// </summary>
    [Guid ("12CA553B-0786-4aee-BB8E-DA8B6BC26F2E"),ComVisible(true)]
	public interface IOrthogonalProjections 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> GetVector(UInt64 index);
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 NumberValidVectors {get;}
    }   

    /// <summary> 
	/// ! Given a collection of vectors, w_i, find a collection of vectors x_i such that x_i is orthogonal to w_j for i != j, and <x_i, w_i> = <w_i, w_i>  This is done by performing GramSchmidt on the other vectors and then projecting onto the orthogonal space.  This class is tested in  MatricesTest::testOrthogonalProjection(); Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IOrthogonalProjections_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IOrthogonalProjections Create (Cephei.QL.Math.IMatrix originalVectors, Double multiplierCutOff, Double tolerance);
    }
}

